package cn.itlaobing.web.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import cn.itlaobing.framework.RequestMapping;

public class TestController {
	Log log=LogFactory.getLog(TestController.class);
	
	@RequestMapping("/test/save.do")
	public String save(HttpServletRequest request,HttpServletResponse response){
		log.info(">>>>>>>>>/test/save.do>>>>>>>>>>>>>>save");
		return "/test/save.jsp";
		
	}
	@RequestMapping("/test/destory.do")
	public String destory(HttpServletRequest request,HttpServletResponse response){
		return null;
	}
	@RequestMapping("/test/index.do")
	public String index(HttpServletRequest request,HttpServletResponse response){
		return "redirect:/test/index.jsp";
	}
	
}
